package com.gzdh.dishrecognition.ui.pre;

import android.content.Context;
import android.view.Display;
import android.widget.ImageView;
import android.widget.TextView;

import com.gzdh.dishrecognition.R;
import com.gzdh.dishrecognition.config.SysConstConfig;
import com.gzdh.dishrecognition.ui.base.BasePresentation;

public class DefaultMainPre extends BasePresentation {

    ImageView iv_qrcode;

    TextView deviceSn;

    public DefaultMainPre(Context outerContext, Display display) {
        super(outerContext, display);
    }

    @Override
    protected int getLayoutId() {
        return R.layout.pre_default_main;
    }

    @Override
    protected void initView() {

    }

    @Override
    protected void initData() {

    }

    @Override
    public void show() {
        if (!SysConstConfig.getInstance().isAllowPreDin()) {
            super.show();
        }
    }
}
